package com.huawei.esdk.uc.jna.struct;

import java.util.ArrayList;
import java.util.List;

import com.huawei.esdk.uc.jna.Constants;
import com.sun.jna.Structure;

public class STCallHistroyItem extends Structure
{
    public byte[] callNum = new byte[Constants.STRING_LENGTH];; // 绑定号

    public byte[] callName = new byte[Constants.STRING_LENGTH];; // 名称

    public byte[] ucAccount = new byte[Constants.STRING_LENGTH];; // UC账户

    public STTime startTime; // 开始时间

    public int duration; // -1 :表示未接来电

    public int callType; // 参考 CallHistoryType

    public int recordID; // 呼叫记录的ID

    @Override
    protected List<String> getFieldOrder()
    {
        ArrayList<String> list = new ArrayList<String>();
        list.add("callNum");
        list.add("callName");
        list.add("ucAccount");
        list.add("startTime");
        list.add("duration");
        list.add("callType");
        list.add("recordID");
        return list;
    }

}
